package com.heima.log.aop;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class LogAspect {

    @Pointcut("@annotation(com.heima.log.anno.AopLog)")
    private void pt(){

    }

    @Before("pt()")
    public void recordLog(JoinPoint joinPoint){

    }
}
